package com.ponhu.ea2.dto;

import com.ponhu.ea2.enums.YesOrNoEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author luyu
 * @create 2021-10-14 15:58
 */
@Data
@Accessors(chain = true)
@ToString(callSuper = true)
public class PhInventoryForPurchaseDto extends PhInventoryBaseDto implements Serializable {

    @ApiModelProperty(value = "渠道系数")
    private Double coefficient = 0.0;

    @ApiModelProperty(value = "bd联系人 展会寄售使用")
    private String bdName;

    @ApiModelProperty(value = "货品联系人 展会寄售使用")
    private String goodsContactName;

    @ApiModelProperty(value = "货主名称 展会寄售使用")
    private String goodsOwnerName;

    @ApiModelProperty(value = "打款金额=供货和销售")
    private BigDecimal salePrice;

    @ApiModelProperty(value = "erp渠道")
    private String erpChannelId;

    @ApiModelProperty(value = "备注")
    private String remarks;

    @ApiModelProperty(value = "标品是否二次采购")
    private Boolean isSecondPurchase = false;

    @ApiModelProperty(value = "是否kpi商品 1是 2否")
    private Integer isKpi = YesOrNoEnum.NO.getCode();
}
